﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.Service.Entities
{
    public class OrderRecord : BaseEntity
    {

        //订单Id
        public long OrderId { get; set; }

        public virtual Order Order { get; set; }

        public long GoodId { get; set; }    // 该订单商品id

        public virtual Good Good { get; set; }

        public int Count { get; set; }  //购买数量

        /// <summary>
        /// 包装Id
        /// </summary>
        public long PackId { get; set; }

        public Pack Pack { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public float Price { get; set; }

        public long? CommentId { get; set; } // 是否对改商品评论

        public virtual Comment Comment { get; set; }
    }
}
